package com.xbao.core.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.HashMap;
import java.util.List;

/**
 * Created by qingshengzheng on 2019/1/23.
 */
@Configuration
@PropertySource(value = {"classpath:busconfig.properties"})
@ConfigurationProperties(prefix = "root")
public class BusConfig {
    private HashMap<String, String> config;

    public HashMap<String, String> getConfig() {
        return config;
    }

    public void setConfig(HashMap<String, String> config) {
        this.config = config;
    }
}
